package com.mall.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mall.entity.Orders;
import com.mall.entity.ProductSku;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ProductSkuMapper extends BaseMapper<ProductSku> {
    /***
     * 查询同一产品下，product_sku中价格最低的套餐
     * @param productId
     * @return
     */
        List<ProductSku> selectSkuByProductId(String productId);
}
